-
Home
-
Nuclear Engagement – Instantly Generate AI Summaries, Quizzes & TOC at Scale
-
2.0.1
-
Code
-
Classes
- RateLimiter
Total Complexity |
22 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
325 |
Lines of code |
130 |
Logical lines of code |
43 |
Comment lines |
116 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
cleanup_expired() |
S |
55 |
3 |
21 |
apply_temporary_block() |
S |
54 |
2 |
22 |
log_rate_limit_event() |
S |
59 |
2 |
14 |
get_statistics() |
S |
52 |
1 |
29 |
get_remaining_requests() |
S |
68 |
2 |
6 |
get_block_info() |
S |
71 |
2 |
5 |
is_rate_limited() |
S |
81 |
1 |
3 |
record_violation() |
S |
82 |
1 |
3 |
reset_limit() |
S |
75 |
1 |
4 |
get_ip_identifier() |
S |
77 |
1 |
3 |
get_cache_key() |
S |
79 |
1 |
3 |
increment_counter() |
S |
74 |
1 |
4 |
get_violation_key() |
S |
77 |
1 |
3 |
get_block_key() |
S |
78 |
1 |
3 |
is_temporarily_blocked() |
S |
81 |
1 |
3 |
remove_block() |
S |
75 |
1 |
4 |